package com.xuecheng.content.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 摆渡人
 * @description 课程修改
 * @date 2023/7/7 20:18
 */
@Data
public class EditCourseDto extends AddCourseDto implements Serializable {

    @ApiModelProperty(value = "课程id",required = true)
    @NotNull(message = "id is null")
    private Long id;
}
